package TransactionImplementation

import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
)

type ChangeNameTransaction struct {
	itsName string
	AbstractTransactions.ChangeEmployeeTransaction
}

func(cnt *ChangeNameTransaction) Change(e *Model.Employee) {
	e.SetName(cnt.itsName)
}